package com.bwie.product.service.impl;

import com.bwie.common.core.constants.RabbitCounse;
import com.bwie.common.core.domain.Result;
import com.bwie.product.service.OrderService;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private RabbitTemplate rabbitTemplate;

    @Override
    public void OrderList(Integer SkuId) {
        rabbitTemplate.convertAndSend(RabbitCounse.Send_hand);
    }
}
